package com.yc.game.cms.pojo;

import java.util.Date;

public class Doubt {
    /** 自增主键 */
    private Integer id;

    /** 问题 */
    private String question;

    /** 答案 */
    private String answer;

    /** 状态 */
    private Integer status;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    public Doubt(Integer id, String question, String answer, Integer status, Date createTime, Date updateTime) {
        this.id = id;
        this.question = question;
        this.answer = answer;
        this.status = status;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Doubt() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question == null ? null : question.trim();
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer == null ? null : answer.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}